package cn.yup.mapper;

import cn.yup.domain.Department;

import java.util.List;

public interface DepartmentMapper {

         /*
         修饰符  返回值类型  方法名称（参数类型）{

          }*/

         List<Department> findAll();

        int deleteById(Long id);


    void save(Department department);

    Department findById(Long id);

    void updateById(Department department);

    List<Department> selectAll();
}
